package com.diaohw.module.system.obj.entity;

import com.diaohw.platform.framework.db.flex.obj.model.BaseModel;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * 系统权限 实体类。
 *
 * @author D-Hw
 * @since 2024-11-15 18:22:15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "系统权限")
@Table("PERMISSION")
public class Permission extends BaseModel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 权限名称
     */
    @Column("PERMISSION_NAME")
    @Schema(description = "权限名称")
    private String permissionName;

    /**
     * 权限code
     */
    @Column("PERMISSION_CODE")
    @Schema(description = "权限code")
    private String permissionCode;

    /**
     * 对应的页面ID
     */
    @Column("MENU_ID")
    @Schema(description = "对应的页面ID")
    private String menuId;


}
